﻿using System.Collections.Generic;

namespace FieldTools.MyQQ.HttpAPI.Model
{
    /// <summary>
    /// http请求实体
    /// </summary>
    public class RequestInfo
    {
        /// <summary>
        /// 完整请求地址
        /// </summary>
        public string FullRequestUrl { get; set; }
        /// <summary>
        /// 请求附加头
        /// </summary>
        public Dictionary<string, string> ExHeaders { get; set; }
        /// <summary>
        /// 请求方法
        /// </summary>
        public string Method { get; set; } = "GET";
        /// <summary>
        /// 请求类型
        /// </summary>
        public string Content内容Type { get; set; } = "application/x-www-form-urlencoded";
        /// <summary>
        /// 请求体
        /// </summary>
        public string Body { get; set; }
    }
}
